package com.heatup.apt.common.dao.user;

import com.baomidou.mybatisplus.mapper.AutoMapper;
import com.heatup.apt.model.user.UserSign;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 *
 * UserSign 表数据库控制层接口
 *
 */
@Component
public interface UserSignMapper extends AutoMapper<UserSign> {

    int insertUserSign(@Param("courseSignId") Integer courseSignId, @Param("orderId") Integer orderId, @Param("userId") Integer userId);

    List<UserSign> queryUserSignBy(Map<String,Object> resultMap);
}